package com.direct.ssh.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractDepartment entity provides the base persistence definition of the
 * Department entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractDepartment extends Entity implements java.io.Serializable {

	private Employee employee;
	private Department parent;
	private String code;
	private String name;
	private String remark;
	private Set subDeparts = new HashSet(0);
	private Set employees = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractDepartment() {
	}

	public Employee getEmployee() {
		return employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public Department getParent() {
		return parent;
	}

	public void setParent(Department parent) {
		this.parent = parent;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set getSubDeparts() {
		return subDeparts;
	}

	public void setSubDeparts(Set subDeparts) {
		this.subDeparts = subDeparts;
	}

	public Set getEmployees() {
		return employees;
	}

	public void setEmployees(Set employees) {
		this.employees = employees;
	}

}